package com.pkt.upload.config;

import com.piketao.common.config.CrosConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.filter.CorsFilter;

/**
 * @author: xinglongge
 * @Date: 2020/2/28 18 14
 * @Description:
 */
@Configuration
public class CrosConfiguration {


    @Bean
    public CorsFilter corsFilter(){

        return new CrosConfig().corsFilter();
    }
}
